package model;
import flash.events.Event;
import model.ModelUpdateType;

/**
 * @author Damien Mabin
 */
class LevelEditorModelEvent extends Event
{
	public static var EVENT			: String = "LevelEditorModelEvent";
	
	public var m_Type 				: E_ModelUpdateType;
	
	public function new(_Type:E_ModelUpdateType)
	{
		super(EVENT);
		
		m_Type = _Type;
	}
	
	override public function clone():Event
    {
        return new LevelEditorModelEvent(m_Type);
    }
    
    override public function toString():String
    {
        return formatToString("LevelEditorModelEvent(" + m_Type + ")");
    
    }
}